<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>登录</title>
		<link href="style/default.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="./javascript/jquery.js">
        </script>
        <script type="text/javascript">
            $(function(){
                $('input[name="name"]').focus();
            })
        </script>
    </head>
    <body>
        <form method="post">
            <dl class="login">
                <dd class="button">
                    <b>登录</b>
                </dd>
                <dt>
                    用户名：
                </dt>
                <dd class="input">
                    <input type="text" name="name" autocomplete="off" />
                </dd>
                <dt>
                    密码：
                </dt>
                <dd class="input">
                    <input type="password" name="password" />
                </dd>
                <dt>
                    验证码：
                </dt>
                <dd class="input">
                    <input type="text" name="validate" style="width:40px;" /><img src="./index.php?m=validate" style="height:16px;" onclick="this.src='./index.php?m=validate&'+Math.random()">
                </dd><!--{if $error}-->
                <dd class="button error">
                    {$error}
                </dd>
                <!--{/if}-->
                <dd class="button">
                    <input type="submit" name="login" value="登录" />
                </dd>
            </dl>
        </form>
    </body>
</html>